package com.example.shoppingmallspringboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("useraddress")
public class UserAddress {
  @TableId(type = IdType.AUTO)
  private Integer id;
  private Integer userId;
  private String city;
  private String address;
  private String name;
  private String phone;
  private Integer isDefault;


}
